#ifndef __TOPOLOGY_P
#define __TOPOLOGY_P

struct topology {
    int coridor[4];
    struct topology* segments[4];
    int depth;
};  //fractal structure

struct topology* new_cluster(); //allocate memory
void destroy_cluster(struct topology * to_destroy); //free memory
void set_topology(struct topology* cluster);    //define coridors
struct topology* generate_topology(int depth);  //total generator

#endif  //__TOPOLOGY_P
